#include<iostream>
#include<string>
using namespace std;
int main()
{
	string s1="ababaccd";
	string s3="ba";
	cout<<s1.find(s3)<<endl<<s1.find(s3,3);
	return 0;
}
